package com.lsq.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
//用户表
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysUser implements Serializable {
  private static final long serialVersionUID = 42L;
  private long id;//id
  private String account;//账户
  private String realName;//真实姓名
  private String password;//用户密码
  private long sex;//性别
  private Date birthday;//生日
  private String phone;//电话
  private String address;//地址
  private long roleId;
  private String idPicPath;
  private String workPicPath;
  private long createdUserId;
  private Date createdTime;
  private long updatedUserId;
  private Date updatedTime;
  private String userRoleName; //角色名称
  private SysRole sysRole; //系统角色的实体类
  private List<Address> addressList;//用户地址列表
}
